home *** CD-ROM | disk | FTP | other *** search
- Path: acsu.buffalo.edu!chan
- From: chan@acsu.buffalo.edu (lipchen alex chan)
- Newsgroups: comp.lang.c
- Subject: Parallel processing code
- Date: 4 Apr 1996 18:36:57 GMT
- Organization: State University of New York at Buffalo
- Message-ID: <4k14s9$c7a@azure.acsu.buffalo.edu>
- Reply-To: chan@acsu.buffalo.edu
- NNTP-Posting-Host: mordred.eng.buffalo.edu
-
-
- Hi,
-
- I have access to a SparcServer 2000 with 12 processors.
- I wish to change my program so that it can use more than
- one processor at one time in order to speed up the execution
- time. Suppose the major segment of execution time resides
- in the code below:
-
- for (i=0; i<10; i++){
- for (j=0; j<8; j++){
-
- a lot of operations.....
-
- }
- }
-
- Is it possible to make the j loop goes to 8 processors simultaneously
- for each i value, instead of sequentially to a single processor?
- Is there any book or reference material that talks about the C
- implementation of parallel processing in multi-processors system?
-
- Thanks for helps and pointers.
-
- Alex
- --
- +----------------------------------------------------------------+
- | Name : Lipchen Alex Chan |
- | E-mail : chan@eng.buffalo.edu or chan@acsu.buffalo.edu |
- +----------------------------------------------------------------+
-